import 'package:flutter_ncsjqz_getx/generated/json/account_record_entity.g.dart';
import 'package:flutter_ncsjqz_getx/generated/json/base/json_field.dart';

@JsonSerializable()
class AccountRecordEntity {

	AccountRecordEntity();

	factory AccountRecordEntity.fromJson(Map<String, dynamic> json) => $AccountRecordEntityFromJson(json);

	Map<String, dynamic> toJson() => $AccountRecordEntityToJson(this);

	String? msg;
	int? code;
	AccountRecordData? data;
}

@JsonSerializable()
class AccountRecordData {

	AccountRecordData();

	factory AccountRecordData.fromJson(Map<String, dynamic> json) => $AccountRecordDataFromJson(json);

	Map<String, dynamic> toJson() => $AccountRecordDataToJson(this);

	int? totalCount;
	int? pageSize;
	int? totalPage;
	int? currPage;
	@JSONField(name: "list")
	List<AccountRecordDataList>? xList;
}

@JsonSerializable()
class AccountRecordDataList {

	AccountRecordDataList();

	factory AccountRecordDataList.fromJson(Map<String, dynamic> json) => $AccountRecordDataListFromJson(json);

	Map<String, dynamic> toJson() => $AccountRecordDataListToJson(this);

	int? id;
	dynamic? transactionNo;
	int? userId;
	int? flag;
	int? type;
	String? typeName;
	int? amount;
	String? operationDate;
	String? remark;
}
